<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

<portlet:defineObjects />

<html>

<script type="text/javascript">
    function getForm(namespace, name) {
        return document.forms[namespace + name];
    }

    function submitForm(namespace, name, action, page) {
    	var frm = getForm(namespace, name);
    	frm.txtAction.value = action;
    	frm.submitLink.value = page;
    	frm.submit();
    }
</script>

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Personal Information Tracking System</title>
<meta name="keywords" content="" />
<meta name="description" content="" />

<link href="style/style.css" rel="stylesheet" type="text/css"
	media="screen" />
</head>

<body>
<form name="<portlet:namespace/>myForm" action="<portlet:actionURL/>"
	method="POST"><input type="hidden" name="txtAction" /> <input
	type="hidden" name="submitLink" />
<p align="right">You are logging in as <a href="#"
	style="color: #FF0000"><b>${sessionScope.userName}</b></a> ! &nbsp; <a
	href="#"
	onclick="submitForm('<portlet:namespace/>', 'myForm', 'logout')">Logout</a>
</p>
</form>

<h1 align="center"><a href="#">Personal information tracking
system </a></h1>
<p align="center">exploit the value of data</p>
<hr />
<br />

<h3 align="center" style="color: #0000FF">Welcome to&nbsp;<a
	href="#">PITS</a>&nbsp;!</h3>
<br />
<p>Your account doesn't have permission to access the information.
Please contact&nbsp; <a href="#" style="color: #FF00FF">Administrator</a>&nbsp;for
more information!</p>
<br />

<div style="clear: both;">&nbsp;</div>
<div id="footer">
<p>Development by HCMUT Project 1 Spring 2010 Group 4</p>
</div>
</body>

</html>